
var id=1;
function add(){
 var vote=document.getElementById("vote");
 var button=document.getElementById("button");
 var input=document.createElement("input");
    input.type="text";
    input.className="form-control";
    input.name="job_number";
    id++;
	input.id="input_"+id;
  
  vote.insertBefore(input,button);
}
